package com.dm.dao;

import com.dm.pojo.DmBaseKeywordSort;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface DmBaseKeywordSortMapper {

	public DmBaseKeywordSort getDmBaseKeywordSortById(@Param(value = "id") Long id)throws Exception;

	public List<DmBaseKeywordSort>	getDmBaseKeywordSortListByMap(Map<String, Object> param)throws Exception;

	public Integer getDmBaseKeywordSortCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertDmBaseKeywordSort(DmBaseKeywordSort dmBaseKeywordSort)throws Exception;

	public Integer updateDmBaseKeywordSort(DmBaseKeywordSort dmBaseKeywordSort)throws Exception;

	public Integer deleteDmBaseKeywordSortById(@Param(value = "id") Long id)throws Exception;

	public Integer batchDeleteDmBaseKeywordSort(Map<String, List<String>> params);

}